LOCAL_PATH:= $(call my-dir)

ZKSW_PREBUILT_ROOT_PATH := $(LOCAL_PATH)/../../../zksw_prebuilt/
ZKSW_PREBUILT_LIB_PATH := $(ZKSW_PREBUILT_ROOT_PATH)/lib/
ZKSW_PREBUILT_INCLUDE_PATH := $(ZKSW_PREBUILT_ROOT_PATH)/include/

EASYUI_COMMON_INCLUDE := $(LOCAL_PATH)/include/


include $(CLEAR_VARS)
LOCAL_MODULE	:= easyui
LOCAL_SRC_FILES	:= libeasyui.so
include $(PREBUILT_SHARED_LIBRARY)


include $(CLEAR_VARS)

LOCAL_SRC_FILES := Main.cpp\
				SystemUtils/DateTimes.cpp\
				 activity/pointerActivity.cpp

LOCAL_CPPFLAGS := -fexceptions -fpermissive
LOCAL_LDFLAGS := -L$(ZKSW_PREBUILT_LIB_PATH)/platform -lgnustl_static -lsupc++

LOCAL_C_INCLUDES := $(EASYUI_COMMON_INCLUDE) \
					$(ZKSW_PREBUILT_INCLUDE_PATH)/platform \
					$(ZKSW_PREBUILT_INCLUDE_PATH)/gui

LOCAL_SHARED_LIBRARIES := easyui
LOCAL_MODULE := zkgui

include $(BUILD_SHARED_LIBRARY)
